package com.jd.sunny.java.multithreading.thread;


import java.io.Serializable;

public class User implements Serializable {

    /**
     * �û���
     */
    private String username = "";

    /**
     * ����
     */
    private String password = "";

    /**
     * ����
     */
    private int number = 100;


    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public User(String username, String password, int number) {
        super();
        this.username = username;
        this.password = password;
        this.number = number;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public void print() {
        System.out.println("username:  " + username + "\npassword: " + password);
    }
}
